<template>
  <div class="nav">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="center">
      <slot name="center"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
  export default {

  }
</script>

<style scoped>
.nav{
  width: 100%;
    height: 47px;
  /* background: skyblue; */
  display: flex;
  justify-content: space-around;
}
.nav>.left{
  flex: 1;
}
.nav>.center{
  flex: 7;
}
.nav .center input{
  width: 90%;
  height: 20px;
  border-radius: 10px;
  outline: none;
  border: none;
  box-sizing: border-box;
  padding-left: 20px;
}
.nav>.right{
  flex: 1;
}
</style>
